﻿using PDFDesign.Model;

namespace PDFDesign.ViewModel
{
    public class NewStyleViewModel : BaseViewModel
    {
        private int num;
        /// <summary>
        /// 序号
        /// </summary>
        public int Num
        {
            get => num;
            set
            {
                num = value;
                OnPropertyChanged("Num");
            }
        }

        private ReportStyles reportStyle;
        /// <summary>
        /// 样式
        /// </summary>
        public ReportStyles ReportStyle
        {
            get => reportStyle;
            set
            {
                reportStyle = value;
                OnPropertyChanged("ReportStyle");
            }
        }

        private NewStyle pdfStyle;
        /// <summary>
        /// PDF样式
        /// </summary>
        public NewStyle PDFStyle
        {
            get => pdfStyle;
            set
            {
                pdfStyle = value;
                OnPropertyChanged("PDFStyle");
            }
        }
    }
}
